// LineDlg.cpp : implementation file
//

#include "stdafx.h"
#include "Step.h"
#include "LineDlg.h"


// CLineDlg dialog

IMPLEMENT_DYNAMIC(CLineDlg, CDialog)

CLineDlg::CLineDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CLineDlg::IDD, pParent)
	, m_x(0)
	, m_y(0)
	, m_radius(0)
	, m_rotation(0)
	, m_red(24)
	, m_green(69)
	, m_blue(59)
{

}

CLineDlg::~CLineDlg()
{
}

void CLineDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_X, m_x);
	DDX_Text(pDX, IDC_Y, m_y);
	DDX_Text(pDX, IDC_RADIUS, m_radius);
	DDX_Text(pDX, IDC_ROTATION, m_rotation);
	DDX_Text(pDX, IDC_RED, m_red);
	DDX_Text(pDX, IDC_GREEN, m_green);
	DDX_Text(pDX, IDC_BLUE, m_blue);
}


BEGIN_MESSAGE_MAP(CLineDlg, CDialog)
	ON_EN_CHANGE(IDC_EDIT3, &CLineDlg::OnEnChangeEdit3)
END_MESSAGE_MAP()


// CLineDlg message handlers

void CLineDlg::OnEnChangeEdit3()
{
	// TODO:  If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.

	// TODO:  Add your control notification handler code here
}
